package com.mabs.ground.client.module.mod1.place;

import com.google.gwt.place.shared.PlaceTokenizer;
import com.mabs.ground.client.common.MyPlace;

/**
 * @author <a href="Email: mohamedarbi.benslimane@allence-tunisie.com">Ben Slimane Arbi</a>
 * @version 1.0
 * @since 1.0 - 25 juil. 2014 - 19:43:55
 */
public class HelloPlace extends MyPlace {
    private String helloName;

    public HelloPlace(String token) {
    	super("Hello Link");
        this.helloName = token;
    }

    public String getHelloName() {
        return helloName;
    }

    public static class Tokenizer implements PlaceTokenizer<HelloPlace> {
       
    	
        public String getToken(HelloPlace place) {
            return place.getHelloName();
        }

        public HelloPlace getPlace(String token) {
            return new HelloPlace(token);
        }
    }
}
